<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Proyecto de Matemática Discreta 2 - Parte II: DINIC: Fichero Fuente network/edge.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="UNCBL.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Proyecto de Matemática Discreta 2 - Parte II: DINIC</div>
   <div id="projectbrief">Cálculo de flujo maximal sobre un network aplicando el algoritmo de Dinic</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&#160;de&#160;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
      <li><a href="globals.html"><span>Globales</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('network_2edge_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">network/edge.h</div>  </div>
</div>
<div class="contents">
<a href="network_2edge_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef EDGE_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define EDGE_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;node.h&quot;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a><a class="code" href="network_2edge_8h.html#ac5be8486b466dcf5fb0a416dfd6b7e69">00009</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_edge.html">sEdge</a> *<a class="code" href="copia_2dinic__dfs_8c.html#a6b7e0cb24ee0c5a485a6e9b685ea7638">edge</a>;
<a name="l00010"></a>00010 
<a name="l00018"></a>00018 edge <a class="code" href="copia_2network_2edge_8c.html#a71540cb597320644127615fe5557f907">edge_create</a>(<span class="keyword">const</span> <a class="code" href="structs_node.html">node</a> <a class="code" href="structs_edge.html#a96e1a6a688d46bb44cc00e99ea1312da">n</a>, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_edge.html#a488a46fc5433f62e2e608f9c5091ce6b">cap</a>); 
<a name="l00019"></a>00019 
<a name="l00025"></a>00025 edge <a class="code" href="copia_2network_2edge_8c.html#afa88a042a4685383ada2273fffd3cce8">edge_destroy</a>(edge e);
<a name="l00026"></a>00026 
<a name="l00032"></a>00032 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2network_2edge_8c.html#addc7ffa56e5ca3939df8d2ec2bf6fdc3">edge_getCap</a>(<span class="keyword">const</span> edge e);
<a name="l00033"></a>00033 
<a name="l00039"></a>00039 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2network_2edge_8c.html#a8de16b919d9adfed57a46d1efc5d676c">edge_getFlow</a>(<span class="keyword">const</span> edge e);
<a name="l00040"></a>00040 
<a name="l00046"></a>00046 <span class="keywordtype">void</span> <a class="code" href="copia_2network_2edge_8c.html#a754670f6592e6ef6214d3a962860ae2c">edge_increaseFlow</a>(edge e, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_edge.html#a8447991eba507bc71ce63ffaf52d275f">flow</a>);
<a name="l00047"></a>00047 
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="copia_2network_2edge_8c.html#aa5b1bdeb177a2b8d2e7909299fae87c9">edge_decreaseFlow</a>(edge e, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_edge.html#a8447991eba507bc71ce63ffaf52d275f">flow</a>);
<a name="l00054"></a>00054 
<a name="l00060"></a>00060 <span class="keywordtype">bool</span> <a class="code" href="copia_2network_2edge_8c.html#a7cdba42b32c5300246541d7f19fce7aa">edge_isSaturated</a>(<span class="keyword">const</span> edge e);
<a name="l00061"></a>00061 
<a name="l00067"></a>00067 <span class="keywordtype">bool</span> <a class="code" href="copia_2network_2edge_8c.html#a18fdf060836c4adcd3e4a9b91412ffdb">edge_isEmpty</a>(<span class="keyword">const</span> edge e);
<a name="l00068"></a>00068 
<a name="l00074"></a>00074 <a class="code" href="structs_node.html">node</a> <a class="code" href="copia_2network_2edge_8c.html#a3af197acfe36e71a09526c4c6b6d107f">edge_getNeighbor</a>(edge e);
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="network_2edge_8h.html">edge.h</a>      </li>
      <li class="footer">Generado el Lunes, 6 de Junio de 2011 20:03:18 para Proyecto de Matemática Discreta 2 - Parte II: DINIC por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;typedefs&apos;</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
